#include<signal.h>
#include<sys/types.h>
#include<signal.h>
// #include<cstring>
#include<string>
#include<iostream>
using namespace std;
 
void Usage(string proc){
    cout<<"Usage:\n\t"<<proc<<" signal pid\n\n";
}

int main(int gc, char *av[]){//int 加上 char* 的组合可以接收任意数量的字符串数组
    if(gc!=3){
        Usage(av[0]);
        exit(0);
    }
    int signum = stoi(av[1]);//stoi 是string中的fafdafafafafa
    int pid=stoi(av[2]);
    kill(pid,signum);
    return 0;
}